#include <QCoreApplication>
#include "bcstmainthread.h"
#include "./qzmthrift/thriftServer.h"
#include <QObject>
int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    ThriftServer  thriftServer;
    BcstMainThread bcst;
    bcst.enableThread();

    QObject::connect(&thriftServer,SIGNAL(isOpenRtBCST()),&bcst,SLOT(handle_openRtBCST()));
    return a.exec();
}
